package com.hrma.dao;

import com.github.pagehelper.Page;
import com.hrma.entity.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RewardMapper {
    void add(Reward data);

    void delete(int id);

    void update(Reward data);

    List<SelectResult> select();

    Page<Reward> getList(RewardDTO data);

    boolean exist(@Param("id") Integer id);

    String getstate(Integer id);

    List<Integer> getMoney(WageStatistic data);
}
